Bounding Spheres
A bounding sphere is a sphere that completely encloses an object. A bounding sphere is defined by theTQ3BoundingSphere
data type.
typedef struct TQ3BoundingSphere { TQ3Point3D origin; float radius; TQ3Boolean isEmpty; } TQ3BoundingSphere;
Field Description
origin
- The origin of the bounding sphere.
radius
- The radius of the bounding sphere; all points making up the bounding sphere are this far away from the origin of the sphere.
isEmpty
- A Boolean value that specifies whether the bounding sphere is empty (
kQ3True
) or not (kQ3False
). If this field contains the valuekQ3True
, the other field of this structure are invalid.